package com.hzm.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CourseDetailsVo {
    @ApiModelProperty(value = "课程ID")
    private String id;

    @ApiModelProperty(value = "课程封面图片路径")
    private String cover;

    @ApiModelProperty(value = "课程标题")
    private String title;

    @ApiModelProperty(value = "课程销售价格，设置为0则可免费观看")
    private BigDecimal price;



    @ApiModelProperty(value = "销售数量")
    private Long buyCount;

    @ApiModelProperty(value = "浏览数量")
    private Long viewCount;

    //    讲师表
    @ApiModelProperty(value = "讲师姓名")
    @TableField(exist = false)
    private String name;

    @ApiModelProperty(value = "讲师简介")
    @TableField(exist = false)
    private String intro;

    @ApiModelProperty(value = "讲师头像")
    @TableField(exist = false)
    private String avatar;

    @ApiModelProperty(value = "讲师id")
    @TableField(exist = false)
    private String teacherId;
    //    课程表
    @ApiModelProperty(value = "课程简介")
    @TableField(exist =false )
    private String description;




}
